package com.facade.po;

import com.facade.iface.Shape;
import com.facade.iface.impl.Circle;
import com.facade.iface.impl.Rectangle;
import com.facade.iface.impl.Square;

public class Facade {

    private Shape circle;

    private Shape rectangle;

    private Shape square;

    public Facade() {
        circle = new Circle();
        rectangle = new Rectangle();
        square = new Square();
    }

    public void drawCircle() {
        circle.draw();
    }

    public void drawRectangle() {
        rectangle.draw();
    }

    public void drawSquare() {
        square.draw();
    }

}
